//
//  TuijianModel.m
//  壳牌喜力促销积分商城
//
//  Created by TUSM on 15/3/16.
//  Copyright (c) 2015年 xrd. All rights reserved.
//

#import "TuijianModel.h"

@implementation TuijianModel
- (instancetype)initWithDictionary:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.title = dict[@"title"];
        self.icon  = dict[@"icon"];
        self.buyCount = dict[@"buyCount"];
        self.giftDes = dict[@"giftDes"];
        
    }
    return self;
}
+ (instancetype)tuijianWithDictionary:(NSDictionary *)dict
{
    return [[self alloc] initWithDictionary:dict];
}
- (NSString *)description
{
    return [NSString stringWithFormat:@"title = %@, icon = %@ , buyCount = %@", self.title, self.icon, self.buyCount];
}
@end
